package bb.lanxing.lib.devices.core.scanner;

public class ScannedDeviceResult<DEVICE> {
    private DEVICE device;
    private int rssi;
    private byte[] scanRecord;

    public ScannedDeviceResult(DEVICE device, int i, byte[] bArr) {
        this.device = device;
        this.rssi = i;
        this.scanRecord = bArr;
    }

    public ScannedDeviceResult(DEVICE device) {
        this(device, 0, null);
    }

    public DEVICE getDevice() {
        return this.device;
    }

    public int getRssi() {
        return this.rssi;
    }

    public byte[] getScanRecord() {
        return this.scanRecord;
    }
}
